package com.example.lib5.company_interface.StringsAndArrays.test3;

import com.example.lib5.company_interface.StringsAndArrays.testB.StringOperateImplB;

import java.util.Arrays;

/**
 * 创建日期：2022/6/10 0010 11:38
 *
 * @author tony.sun
 * 类说明：
 */
public class Main2 {
    public static void main(String[] args) {
        String str="ab&&2",divide="&&";
        String[] strs=new String[]{"ab","2"};
         IStringOperateC op=new StringOperateImplC();
        String[] split=op.split(str,divide);
        String group=op.group(strs,divide);
        System.out.println(Arrays.toString(split));
        System.out.println(group);
    }
}
